package com.objetdirect.gwt.umldrawer.shared.services;

import com.google.gwt.user.client.rpc.AsyncCallback;
import com.objetdirect.gwt.umldrawer.shared.dto.DeveloperDto;

public interface DeveloperServiceAsync {

	void deleteDeveloper(String developerEmail, AsyncCallback<Void> callback);

	void findDeveloper(String developerId, AsyncCallback<DeveloperDto> callback);

	void saveDeveloper(String developerEmail, String firstName,
			String lastName, String password, int onlineStatus,
			AsyncCallback<Void> callback);

	void saveOrUpdateDeveloper(String developerEmail, String firstName,
			String lastName, String password, int onlineStatus,
			AsyncCallback<Void> callback);

	void updateDeveloper(String developerEmail, String firstName,
			String lastName, String password, int onlineStatus,
			AsyncCallback<Void> callback);

	void signIn(String developerEmail, String password,
			AsyncCallback<Boolean> callback);

}
